const button = document.querySelector('button');
button.addEventListener('click', function(event){
    console.log('Button was clicked!');
});